PolicyRuleWriteModel

PolicyRuleWriteModel
PolicyRuleWriteModel

Policy rule entity for write requests.

JSON Example
{
    "accounts": [
        "string"
    ],
    "roles": [
        "string"
    ],
    "userGroups": [
        "string"
    ],
    "name": "string",
    "id": "string",
    "description": "string",
    "tagsAnded": false,
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "prefixes": [
        "string"
    ],
    "accessType": "string"
}
array of string
accounts
Optional

The list of account identifiers of the policy rule

array of string
roles
Optional

The list of role identifiers of the policy rule

array of string
userGroups
Optional

The list of user group identifiers of the policy rule

string
name
Required

The name of the policy rule

string
id
Optional

id

string
description
Optional

The description of the policy rule

boolean
tagsAnded
Optional

Whether tags should be AND-ed or OR-ed.If true, a metric must contain all tags in order for the policy rule to apply. If false, the tags are OR-ed, and a metric must contain one of the tags. Default: false

array of Annotation
tags
Optional

The tag/value pairs of the policy rule

array of string
prefixes
Optional

The prefixes of the policy rule

string
accessType
Optional

The access type of the policy rule

Possible values are : ALLOW, BLOCK,