SubjectV1
Class sealed net10.0
Represents a subject in Kubernetes RoleBinding or ClusterRoleBinding resources.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class SubjectV1{ // ...} 5 members
Remarks
Section titled Remarks A subject identifies a Kubernetes entity, such as a user, group, or service account, that is granted permissions through a RoleBinding or ClusterRoleBinding.
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesApiGroupget; setstring Gets or sets the API group of the subject in Kubernetes. This property specifies the group of the referenced resource, which is used to differentiate resources with the same kind or name belonging to different API groups.
Kindget; setstring Gets or sets the kind of the subject. This property specifies the type of the Kubernetes subject, such as "User", "Group", or "ServiceAccount".
Nameget; setstring Gets or sets the name of the Kubernetes resource subject. Represents the specific subject entity associated with the resource.
Namespaceget; setstring Gets or sets the namespace associated with the subject. This property is used to specify the namespace in which the subject resides. It is typically applicable in contexts where namespace-scoped resources are involved.