com.pulumi.azure.appservice.kotlin.outputs.GetAppServicePlanResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.appservice.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getAppServicePlan.
* @property appServiceEnvironmentId The ID of the App Service Environment where the App Service Plan is located.
* @property id The provider-assigned unique ID for this managed resource.
* @property isXenon A flag that indicates if it's a xenon plan (support for Windows Container)
* @property kind The Operating System type of the App Service Plan
* @property location The Azure location where the App Service Plan exists
* @property maximumElasticWorkerCount The maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.
* @property maximumNumberOfWorkers The maximum number of workers supported with the App Service Plan's sku.
* @property name
* @property perSiteScaling Can Apps assigned to this App Service Plan be scaled independently?
* @property reserved Is this App Service Plan `Reserved`?
* @property resourceGroupName
* @property sku A `sku` block as documented below.
* @property tags A mapping of tags assigned to the resource.
* @property zoneRedundant App Service Plan perform availability zone balancing.
*/
public data class GetAppServicePlanResult(
public val appServiceEnvironmentId: String,
public val id: String,
public val isXenon: Boolean,
public val kind: String,
public val location: String,
public val maximumElasticWorkerCount: Int,
public val maximumNumberOfWorkers: Int,
public val name: String,
public val perSiteScaling: Boolean,
public val reserved: Boolean,
public val resourceGroupName: String,
public val sku: GetAppServicePlanSku,
public val tags: Map,
public val zoneRedundant: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetAppServicePlanResult):
GetAppServicePlanResult = GetAppServicePlanResult(
appServiceEnvironmentId = javaType.appServiceEnvironmentId(),
id = javaType.id(),
isXenon = javaType.isXenon(),
kind = javaType.kind(),
location = javaType.location(),
maximumElasticWorkerCount = javaType.maximumElasticWorkerCount(),
maximumNumberOfWorkers = javaType.maximumNumberOfWorkers(),
name = javaType.name(),
perSiteScaling = javaType.perSiteScaling(),
reserved = javaType.reserved(),
resourceGroupName = javaType.resourceGroupName(),
sku = javaType.sku().let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.GetAppServicePlanSku.Companion.toKotlin(args0)
}),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
zoneRedundant = javaType.zoneRedundant(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy