com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.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.dataproc.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property autoDeleteTime The time when cluster will be auto-deleted (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)).
* @property autoDeleteTtl The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)).
* @property idleDeleteTtl The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json).
* @property idleStartTime Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)).
*/
public data class WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig(
public val autoDeleteTime: String? = null,
public val autoDeleteTtl: String? = null,
public val idleDeleteTtl: String? = null,
public val idleStartTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig): WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig =
WorkflowTemplatePlacementManagedClusterConfigLifecycleConfig(
autoDeleteTime = javaType.autoDeleteTime().map({ args0 -> args0 }).orElse(null),
autoDeleteTtl = javaType.autoDeleteTtl().map({ args0 -> args0 }).orElse(null),
idleDeleteTtl = javaType.idleDeleteTtl().map({ args0 -> args0 }).orElse(null),
idleStartTime = javaType.idleStartTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy