Class HTTPGetAction
- java.lang.Object
-
- com.pulumi.kubernetes.core.v1.outputs.HTTPGetAction
-
public final class HTTPGetAction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HTTPGetAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HTTPGetAction.Builder
builder()
static HTTPGetAction.Builder
builder(HTTPGetAction defaults)
java.util.Optional<java.lang.String>
host()
java.util.List<HTTPHeader>
httpHeaders()
java.util.Optional<java.lang.String>
path()
com.pulumi.core.Either<java.lang.Integer,java.lang.String>
port()
java.util.Optional<java.lang.String>
scheme()
-
-
-
Method Detail
-
host
public java.util.Optional<java.lang.String> host()
- Returns:
- Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
-
httpHeaders
public java.util.List<HTTPHeader> httpHeaders()
- Returns:
- Custom headers to set in the request. HTTP allows repeated headers.
-
path
public java.util.Optional<java.lang.String> path()
- Returns:
- Path to access on the HTTP server.
-
port
public com.pulumi.core.Either<java.lang.Integer,java.lang.String> port()
- Returns:
- 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.
-
scheme
public java.util.Optional<java.lang.String> scheme()
- Returns:
- Scheme to use for connecting to the host. Defaults to HTTP.
-
builder
public static HTTPGetAction.Builder builder()
-
builder
public static HTTPGetAction.Builder builder(HTTPGetAction defaults)
-
-