Class RoleArgs
Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Inputs.Rbac.V1Alpha1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class RoleArgs : ResourceArgs
Properties
View SourceApiVersion
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 Input<string> ApiVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
Standard object's metadata.
Declaration
public Input<ObjectMetaArgs> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ObjectMetaArgs> |
Rules
Rules holds all the PolicyRules for this Role
Declaration
public InputList<PolicyRuleArgs> Rules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<PolicyRuleArgs> |