com.pulumi.gcp.cloudrunv2.kotlin.outputs.JobTemplateTemplateVolumeEmptyDir.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.cloudrunv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property medium The different types of medium supported for EmptyDir.
* Default value is `MEMORY`.
* Possible values are: `MEMORY`.
* @property sizeLimit Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
*/
public data class JobTemplateTemplateVolumeEmptyDir(
public val medium: String? = null,
public val sizeLimit: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.JobTemplateTemplateVolumeEmptyDir): JobTemplateTemplateVolumeEmptyDir = JobTemplateTemplateVolumeEmptyDir(
medium = javaType.medium().map({ args0 -> args0 }).orElse(null),
sizeLimit = javaType.sizeLimit().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy