HTTPGetActionArgs

data class HTTPGetActionArgs(val host: Output<String>? = null, val httpHeaders: Output<List<HTTPHeaderArgs>>? = null, val path: Output<String>? = null, val port: Output<Either<Int, String>>, val scheme: Output<String>? = null) : ConvertibleToJava<HTTPGetActionArgs>

HTTPGetAction describes an action based on HTTP Get requests.

Constructors

Link copied to clipboard
constructor(host: Output<String>? = null, httpHeaders: Output<List<HTTPHeaderArgs>>? = null, path: Output<String>? = null, port: Output<Either<Int, String>>, scheme: Output<String>? = null)

Properties

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

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

Link copied to clipboard
val httpHeaders: Output<List<HTTPHeaderArgs>>? = null

Custom headers to set in the request. HTTP allows repeated headers.

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

Path to access on the HTTP server.

Link copied to clipboard
val port: Output<Either<Int, String>>

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

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

Scheme to use for connecting to the host. Defaults to HTTP.

Functions

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