Policy

Policy
Policy

A policy such as lease policy that will be enforced.

JSON Example
{
    "createdAt": "string",
    "createdBy": "string",
    "criteria": {
        "matchExpression": [
            {}
        ]
    },
    "description": "string",
    "enforcementType": "string",
    "id": "string",
    "lastUpdatedAt": "string",
    "lastUpdatedBy": "string",
    "name": "string",
    "orgId": "string",
    "projectId": "string",
    "statistics": {
        "conflictCount": 0,
        "enforcedCount": 0,
        "notEnforcedCount": 0
    },
    "typeId": "string"
}
string As date-time As date-time
createdAt
Optional

createdAt

string
createdBy
Optional

createdBy

criteria
Optional

criteria

object
definition
Optional

definition

object
definitionLegend
Optional

definitionLegend

string
description
Optional

description

string
enforcementType
Optional

Defines enforcement type for policy. Default is HARD

Possible values are : SOFT, HARD,
string As uuid As uuid
id
Optional

id

string As date-time As date-time
lastUpdatedAt
Optional

lastUpdatedAt

string
lastUpdatedBy
Optional

lastUpdatedBy

string
name
Optional

name

string
orgId
Optional

orgId

string
projectId
Optional

projectId

statistics
Optional

statistics

string
typeId
Optional

typeId