Role
Class sealed net10.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.