All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataproc.kotlin.outputs.GetMetastoreServiceScalingConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.20.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property autoscalingConfigs Represents the autoscaling configuration of a metastore service.
 * @property instanceSize Metastore instance sizes. Possible values: ["EXTRA_SMALL", "SMALL", "MEDIUM", "LARGE", "EXTRA_LARGE"]
 * @property scalingFactor Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
 */
public data class GetMetastoreServiceScalingConfig(
    public val autoscalingConfigs: List,
    public val instanceSize: String,
    public val scalingFactor: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.GetMetastoreServiceScalingConfig): GetMetastoreServiceScalingConfig = GetMetastoreServiceScalingConfig(
            autoscalingConfigs = javaType.autoscalingConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataproc.kotlin.outputs.GetMetastoreServiceScalingConfigAutoscalingConfig.Companion.toKotlin(args0)
                })
            }),
            instanceSize = javaType.instanceSize(),
            scalingFactor = javaType.scalingFactor(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy