Show / Hide Table of Contents

Class NonResourcePolicyRule

NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.

Inheritance
System.Object
NonResourcePolicyRule
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.FlowControl.V1Alpha1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class NonResourcePolicyRule

Fields

View Source

NonResourceURLs

nonResourceURLs is a set of url prefixes that a user should have access to and may not be empty. For example:

  • "/healthz" is legal
  • "/hea*" is illegal
  • "/hea" is legal but matches nothing
  • "/hea/*" also matches nothing
  • "/healthz/" matches all per-component health checks. "" matches all non-resource urls. if it is present, it must be the only entry. Required.
Declaration
public readonly ImmutableArray<string> NonResourceURLs
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Verbs

verbs is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.

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.