Show / Hide Table of Contents

Class ResourceRule

ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.

Inheritance
System.Object
ResourceRule
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Outputs.Authorization.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class ResourceRule

Fields

View Source

ApiGroups

APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.

Declaration
public readonly ImmutableArray<string> ApiGroups
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

ResourceNames

ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.

Declaration
public readonly ImmutableArray<string> ResourceNames
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Resources

Resources is a list of resources this rule applies to. "" means all in the specified apiGroups. "/foo" represents the subresource 'foo' for all resources in the specified apiGroups.

Declaration
public readonly ImmutableArray<string> Resources
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Verbs

Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.

Declaration
public readonly ImmutableArray<string> Verbs
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.