com.pulumi.gcp.compute.kotlin.outputs.GetHealthCheckSslHealthCheck.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.compute.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property port The TCP port number for the SSL health check request.
* The default value is 443.
* @property portName Port name as defined in InstanceGroup#NamedPort#name. If both port and
* port_name are defined, port takes precedence.
* @property portSpecification Specifies how port is selected for health checking, can be one of the
* following values:
* * 'USE_FIXED_PORT': The port number in 'port' is used for health checking.
* * 'USE_NAMED_PORT': The 'portName' is used for health checking.
* * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each
* network endpoint is used for health checking. For other backends, the
* port or named port specified in the Backend Service is used for health
* checking.
* If not specified, SSL health check follows behavior specified in 'port' and
* 'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"]
* @property proxyHeader Specifies the type of proxy header to append before sending data to the
* backend. Default value: "NONE" Possible values: ["NONE", "PROXY_V1"]
* @property request The application data to send once the SSL connection has been
* established (default value is empty). If both request and response are
* empty, the connection establishment alone will indicate health. The request
* data can only be ASCII.
* @property response The bytes to match against the beginning of the response data. If left empty
* (the default value), any response will indicate health. The response data
* can only be ASCII.
*/
public data class GetHealthCheckSslHealthCheck(
public val port: Int,
public val portName: String,
public val portSpecification: String,
public val proxyHeader: String,
public val request: String,
public val response: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetHealthCheckSslHealthCheck): GetHealthCheckSslHealthCheck = GetHealthCheckSslHealthCheck(
port = javaType.port(),
portName = javaType.portName(),
portSpecification = javaType.portSpecification(),
proxyHeader = javaType.proxyHeader(),
request = javaType.request(),
response = javaType.response(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy