All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.compute.alpha.kotlin.outputs.UDPHealthCheckResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.alpha.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property port The UDP port number to which the health check prober sends packets. Valid values are 1 through 65535.
 * @property portName Not supported.
 * @property request Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
 * @property response The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
 */
public data class UDPHealthCheckResponse(
    public val port: Int,
    public val portName: String,
    public val request: String,
    public val response: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.alpha.outputs.UDPHealthCheckResponse): UDPHealthCheckResponse = UDPHealthCheckResponse(
            port = javaType.port(),
            portName = javaType.portName(),
            request = javaType.request(),
            response = javaType.response(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy