com.pulumi.gcp.cloudquota.kotlin.outputs.GetSQuotaInfoDimensionsInfo.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.cloudquota.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property applicableLocations The applicable regions or zones of this dimensions info. The field will be set to `['global']` for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
* @property details The quota details for a map of dimensions.
* @property dimensions The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota.
*/
public data class GetSQuotaInfoDimensionsInfo(
public val applicableLocations: List,
public val details: List,
public val dimensions: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudquota.outputs.GetSQuotaInfoDimensionsInfo): GetSQuotaInfoDimensionsInfo = GetSQuotaInfoDimensionsInfo(
applicableLocations = javaType.applicableLocations().map({ args0 -> args0 }),
details = javaType.details().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudquota.kotlin.outputs.GetSQuotaInfoDimensionsInfoDetail.Companion.toKotlin(args0)
})
}),
dimensions = javaType.dimensions().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy