
com.pulumi.googlenative.compute.beta.kotlin.outputs.NotificationEndpointGrpcSettingsResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.beta.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.
* @property authority Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
* @property endpoint Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
* @property payloadName Optional. If specified, this field is used to populate the "name" field in gRPC requests.
* @property resendInterval Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
* @property retryDurationSec How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
*/
public data class NotificationEndpointGrpcSettingsResponse(
public val authority: String,
public val endpoint: String,
public val payloadName: String,
public val resendInterval: DurationResponse,
public val retryDurationSec: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.compute.beta.outputs.NotificationEndpointGrpcSettingsResponse): NotificationEndpointGrpcSettingsResponse = NotificationEndpointGrpcSettingsResponse(
authority = javaType.authority(),
endpoint = javaType.endpoint(),
payloadName = javaType.payloadName(),
resendInterval = javaType.resendInterval().let({ args0 ->
com.pulumi.googlenative.compute.beta.kotlin.outputs.DurationResponse.Companion.toKotlin(args0)
}),
retryDurationSec = javaType.retryDurationSec(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy