RoleRefV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a reference to a Kubernetes Role or ClusterRole.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class RoleRefV1
[<YamlDotNet.Serialization.YamlSerializable>]
type RoleRefV1 = class
Public NotInheritable Class RoleRefV1
- Inheritance
-
RoleRefV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
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.
Constructors
RoleRefV1() |
Properties
ApiGroup |
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. |
Kind |
Gets or sets the kind of the referenced role resource. |
Name |