INTERFACE

HubPolicy

Hub policy

link GraphQL Schema definition

  • interface HubPolicy {
  • # CSP user who created hub policy
  • createdBy: User!
  • # Timestamp at which hub policy is created. Expressed in UTC ISO-8601 format
  • creationTime: DateTime!
  • # CSP projects associated with policy
  • cspProjects: [Entity!]
  • # Policy description
  • description: LocalizedString
  • # If the policy is enabled or not
  • # If disabled, timer based policy evaluation will stop. But user will still be
  • # able to evaluate the policy using API.
  • enabled: Boolean!
  • # Opaque global ID
  • id: ID!
  • # Timestamp at which hub policy is updated. Expressed in UTC ISO-8601 format
  • lastUpdateTime: DateTime
  • # Versioning ID
  • nodeVersion: ID!
  • # Policy id
  • policyId: String!
  • # Policy name
  • policyName: LocalizedString!
  • # Policy Providers like Cost, Spring, Aria/Tanzu
  • policyProvider: String!
  • # CSP user who updated hub policy
  • updatedBy: User
  • }