RoleBinding.RoleRef 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.
Gets or sets the reference to the role or cluster role that the binding applies to.
[YamlDotNet.Serialization.YamlMember(Alias="roleRef")]
public Aspire.Hosting.Kubernetes.Resources.RoleRefV1 RoleRef { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="roleRef")>]
member this.RoleRef : Aspire.Hosting.Kubernetes.Resources.RoleRefV1 with get, set
Public Property RoleRef As RoleRefV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The RoleRef property specifies the target role or cluster role the RoleBinding object binds to. It contains information about the API group, the kind of the role (Role or ClusterRole), and the name of the role.