Policies

Policies
Policies
This class is array of RestPolicyInfo
JSON Example
[
    {
        "name": "string",
        "description": "string",
        "type": "string",
        "content": "apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata:\n  name: abc\nrules:\n  - apiGroups: \n      - rbac.authorization.k8s.io/v1\n    resources: \n      - clusterrolebindings\n      - clusterroles\n    verbs: \n      - get \n      - list\n      - create\n      - update\n      - patch\n      - delete\n  - apiGroups: [v1]\n    resources: [serviceaccounts]\n    verbs: [get, list, create, update, patch, delete]\n",
        "state": "string",
        "id": "string",
        "username": "string",
        "updatedAt": "string",
        "expiresAt": "string",
        "_links": {
            "self": {
                "href": "string"
            },
            "list": {
                "href": "string"
            },
            "export": {
                "href": "string"
            },
            "edit": {
                "href": "string"
            },
            "finalize": {
                "href": "string"
            },
            "delete": {
                "href": "string"
            },
            "grant": {
                "href": "string"
            },
            "listGrants": {
                "href": "string"
            }
        }
    }
]