Class ClusterRole
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
Inheritance
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Outputs.Rbac.V1Alpha1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class ClusterRole
Fields
View SourceAggregationRule
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
Declaration
public readonly AggregationRule AggregationRule
Field Value
| Type | Description |
|---|---|
| AggregationRule |
ApiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Declaration
public readonly string ApiVersion
Field Value
| Type | Description |
|---|---|
| System.String |
Kind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Declaration
public readonly string Kind
Field Value
| Type | Description |
|---|---|
| System.String |
Metadata
Standard object's metadata.
Declaration
public readonly ObjectMeta Metadata
Field Value
| Type | Description |
|---|---|
| ObjectMeta |
Rules
Rules holds all the PolicyRules for this ClusterRole
Declaration
public readonly ImmutableArray<PolicyRule> Rules
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<PolicyRule> |