Skip to content
Docs Try Aspire

Role Properties

Class Properties 1 member
Defines a Kubernetes Role resource within the "rbac.authorization.k8s.io/v1" API group.
Represents the list of policy rules associated with a Kubernetes Role resource.
public List<PolicyRuleV1> Rules { get; }
The Rules property defines the set of permissions assigned to the Role in the form of policy rules. Each rule specifies which actions are permitted or denied for particular resources, resource names, API groups, verbs, or non-resource URLs. The property is a collection of PolicyRuleV1 objects and dictates the Role's scope and access within the Kubernetes environment.