
com.pulumi.googlenative.integrations.v1alpha.kotlin.outputs.GoogleCloudIntegrationsV1alphaFailurePolicyResponse.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.integrations.v1alpha.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
* @property intervalTime Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
* @property maxRetries Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
* @property retryStrategy Defines what happens to the task upon failure.
*/
public data class GoogleCloudIntegrationsV1alphaFailurePolicyResponse(
public val intervalTime: String,
public val maxRetries: Int,
public val retryStrategy: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.integrations.v1alpha.outputs.GoogleCloudIntegrationsV1alphaFailurePolicyResponse): GoogleCloudIntegrationsV1alphaFailurePolicyResponse =
GoogleCloudIntegrationsV1alphaFailurePolicyResponse(
intervalTime = javaType.intervalTime(),
maxRetries = javaType.maxRetries(),
retryStrategy = javaType.retryStrategy(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy