Share via


Role Constructor

Definition

Defines a Kubernetes Role resource within the "rbac.authorization.k8s.io/v1" API group.

public Role();
Public Sub New ()

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.

Applies to

See also