ServiceTemplateSpecContainerLivenessProbeGrpcArgs

data class ServiceTemplateSpecContainerLivenessProbeGrpcArgs(val port: Output<Int>? = null, val service: Output<String>? = null) : ConvertibleToJava<ServiceTemplateSpecContainerLivenessProbeGrpcArgs>

Constructors

constructor(port: Output<Int>? = null, service: Output<String>? = null)

Properties

Link copied to clipboard
val port: Output<Int>? = null

Port number to access on the container. Number must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports0.containerPort.

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

The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.

Functions

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