Share via


ClusterRoleBinding.Subjects Property

Definition

Gets the list of subjects associated with the ClusterRoleBinding. Subjects refer to the entities (users, groups, or service accounts) that the role binding applies to.

[YamlDotNet.Serialization.YamlMember(Alias="subjects")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.SubjectV1> Subjects { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="subjects")>]
member this.Subjects : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.SubjectV1>
Public ReadOnly Property Subjects As List(Of SubjectV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

Each subject in the list can represent a specific user, group, or Kubernetes resource that is granted the permissions defined in the associated role. This property is initialized as an empty list and can contain zero or more subjects.

Applies to