PermissionArgs

data class PermissionArgs(val constraints: Output<List<PermissionConstraintArgs>>? = null, val hosts: Output<List<String>>? = null, val methods: Output<List<String>>? = null, val notHosts: Output<List<String>>? = null, val notMethods: Output<List<String>>? = null, val notPaths: Output<List<String>>? = null, val notPorts: Output<List<String>>? = null, val paths: Output<List<String>>? = null, val ports: Output<List<String>>? = null) : ConvertibleToJava<PermissionArgs>

Deprecated All fields defined in a permission are ANDed.

Constructors

Link copied to clipboard
fun PermissionArgs(constraints: Output<List<PermissionConstraintArgs>>? = null, hosts: Output<List<String>>? = null, methods: Output<List<String>>? = null, notHosts: Output<List<String>>? = null, notMethods: Output<List<String>>? = null, notPaths: Output<List<String>>? = null, notPorts: Output<List<String>>? = null, paths: Output<List<String>>? = null, ports: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): PermissionArgs

Properties

Link copied to clipboard

Extra custom constraints. The constraints are ANDed together.

Link copied to clipboard
val hosts: Output<List<String>>? = null

Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.

Link copied to clipboard
val methods: Output<List<String>>? = null

HTTP method.

Link copied to clipboard
val notHosts: Output<List<String>>? = null

Negate of hosts. Specifies exclusions.

Link copied to clipboard
val notMethods: Output<List<String>>? = null

Negate of methods. Specifies exclusions.

Link copied to clipboard
val notPaths: Output<List<String>>? = null

Negate of paths. Specifies exclusions.

Link copied to clipboard
val notPorts: Output<List<String>>? = null

Negate of ports. Specifies exclusions.

Link copied to clipboard
val paths: Output<List<String>>? = null

HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.

Link copied to clipboard
val ports: Output<List<String>>? = null

Port names or numbers.