![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.outputs.SiteLimitsResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.outputs
import kotlin.Double
import kotlin.Suppress
/**
* Metric limits set on an app.
* @property maxDiskSizeInMb Maximum allowed disk size usage in MB.
* @property maxMemoryInMb Maximum allowed memory usage in MB.
* @property maxPercentageCpu Maximum allowed CPU usage percentage.
*/
public data class SiteLimitsResponse(
public val maxDiskSizeInMb: Double? = null,
public val maxMemoryInMb: Double? = null,
public val maxPercentageCpu: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.SiteLimitsResponse): SiteLimitsResponse = SiteLimitsResponse(
maxDiskSizeInMb = javaType.maxDiskSizeInMb().map({ args0 -> args0 }).orElse(null),
maxMemoryInMb = javaType.maxMemoryInMb().map({ args0 -> args0 }).orElse(null),
maxPercentageCpu = javaType.maxPercentageCpu().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy