com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property bootDiskSizeGb Size in GB of the boot disk (default is 500GB).
* @property bootDiskType Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
* @property numLocalSsds Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
*/
public data class WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig(
public val bootDiskSizeGb: Int? = null,
public val bootDiskType: String? = null,
public val numLocalSsds: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig): WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig =
WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig(
bootDiskSizeGb = javaType.bootDiskSizeGb().map({ args0 -> args0 }).orElse(null),
bootDiskType = javaType.bootDiskType().map({ args0 -> args0 }).orElse(null),
numLocalSsds = javaType.numLocalSsds().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy