RoleRefV1
Class sealed net10.0
Represents a reference to a Kubernetes Role or ClusterRole.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class RoleRefV1{ // ...}Remarks
Section titled Remarks The RoleRefV1 class is used to specify which role or cluster role a RoleBinding or ClusterRoleBinding references. It includes details about the kind of role, the name of the role, and the API group to which the role belongs.
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesApiGroupget; setstring Gets or sets the API group associated with the Kubernetes resource. The API group is used to specify the group of the resource, allowing the use of resources across different API versions.
Kindget; setstring Gets or sets the kind of the referenced role resource.
Nameget; setstring