Skip to content

AccessRule🔗

Constructor🔗

AccessRule()

Methods🔗

build🔗

Builds the object.

def build() -> accesspolicy.AccessRule

kind🔗

The kind this rule applies to (dashboards, alert, etc)

def kind(kind: str) -> typing.Self

target🔗

Specific sub-elements like "alert.rules" or "dashboard.permissions"????

def target(target: str) -> typing.Self

verb🔗

READ, WRITE, CREATE, DELETE, ...

should move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"

def verb(verb: typing.Union[typing.Literal["*"]]) -> typing.Self

See also🔗