Class NonResourcePolicyRuleArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.flowcontrol.v1alpha1.inputs.NonResourcePolicyRuleArgs
-
public final class NonResourcePolicyRuleArgs extends com.pulumi.resources.ResourceArgs
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NonResourcePolicyRuleArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static NonResourcePolicyRuleArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NonResourcePolicyRuleArgs.Builder
builder()
static NonResourcePolicyRuleArgs.Builder
builder(NonResourcePolicyRuleArgs defaults)
com.pulumi.core.Output<java.util.List<java.lang.String>>
nonResourceURLs()
com.pulumi.core.Output<java.util.List<java.lang.String>>
verbs()
-
-
-
Field Detail
-
Empty
public static final NonResourcePolicyRuleArgs Empty
-
-
Method Detail
-
nonResourceURLs
public com.pulumi.core.Output<java.util.List<java.lang.String>> nonResourceURLs()
- Returns:
- `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.
-
verbs
public com.pulumi.core.Output<java.util.List<java.lang.String>> verbs()
- Returns:
- `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.
-
builder
public static NonResourcePolicyRuleArgs.Builder builder()
-
builder
public static NonResourcePolicyRuleArgs.Builder builder(NonResourcePolicyRuleArgs defaults)
-
-