Role
Classsealednet10.0
Defines a Kubernetes Role resource within the "rbac.authorization.k8s.io/v1" API group.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class Role : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource{ // ...}Remarks
Section titled Remarks A Role is used to grant access to resources within a specific namespace in Kubernetes. It is composed of a collection of policy rules that determine the permitted actions (e.g., get, list, create) on specified resources within the namespace. This class extends the BaseKubernetesResource for consistent handling of Kubernetes resources.
Constructors1
Section titled Constructors Defines a Kubernetes Role resource within the "rbac.authorization.k8s.io/v1" API group.
Properties1
Section titled PropertiesRulesget Represents the list of policy rules associated with a Kubernetes Role resource.