ClusterRole.Rules Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of policy rules applied to the Kubernetes ClusterRole.
[YamlDotNet.Serialization.YamlMember(Alias="rules")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PolicyRuleV1> Rules { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="rules")>]
member this.Rules : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PolicyRuleV1>
Public ReadOnly Property Rules As List(Of PolicyRuleV1)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The Rules
property defines a set of rules that dictate access permissions within a Kubernetes ClusterRole resource. Each rule describes the actions, resources, and namespaces that are subject to specific policies. This property is a list of PolicyRuleV1
objects, where each object specifies the precise components of a policy rule, including API groups, resources, verbs, and URLs.