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

com.pulumi.azure.mssql.kotlin.outputs.GetElasticPoolResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.mssql.kotlin.outputs

import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getElasticPool.
 * @property enclaveType The type of enclave being used by the elastic pool.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property licenseType The license type to apply for this elastic pool.
 * @property location Specifies the supported Azure location where the resource exists.
 * @property maxSizeBytes The max data size of the elastic pool in bytes.
 * @property maxSizeGb The max data size of the elastic pool in gigabytes.
 * @property name Specifies the SKU Name for this Elasticpool.
 * @property perDbMaxCapacity The maximum capacity any one database can consume.
 * @property perDbMinCapacity The minimum capacity all databases are guaranteed.
 * @property resourceGroupName
 * @property serverName
 * @property skus A `sku` block as defined below.
 * @property tags A mapping of tags to assign to the resource.
 * @property zoneRedundant Whether or not this elastic pool is zone redundant.
 */
public data class GetElasticPoolResult(
    public val enclaveType: String,
    public val id: String,
    public val licenseType: String,
    public val location: String,
    public val maxSizeBytes: Int,
    public val maxSizeGb: Double,
    public val name: String,
    public val perDbMaxCapacity: Int,
    public val perDbMinCapacity: Int,
    public val resourceGroupName: String,
    public val serverName: String,
    public val skus: List,
    public val tags: Map,
    public val zoneRedundant: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mssql.outputs.GetElasticPoolResult): GetElasticPoolResult = GetElasticPoolResult(
            enclaveType = javaType.enclaveType(),
            id = javaType.id(),
            licenseType = javaType.licenseType(),
            location = javaType.location(),
            maxSizeBytes = javaType.maxSizeBytes(),
            maxSizeGb = javaType.maxSizeGb(),
            name = javaType.name(),
            perDbMaxCapacity = javaType.perDbMaxCapacity(),
            perDbMinCapacity = javaType.perDbMinCapacity(),
            resourceGroupName = javaType.resourceGroupName(),
            serverName = javaType.serverName(),
            skus = javaType.skus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mssql.kotlin.outputs.GetElasticPoolSkus.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            zoneRedundant = javaType.zoneRedundant(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy