Share via


RoleBinding.RoleRef Property

Definition

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.

Applies to