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

com.pulumi.azure.appservice.kotlin.outputs.GetAppServiceEnvironmentResult.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.appservice.kotlin.outputs

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

/**
 * A collection of values returned by getAppServiceEnvironment.
 * @property clusterSettings Zero or more `cluster_setting` blocks as defined below.
 * @property frontEndScaleFactor The number of app instances per App Service Environment Front End.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property internalIpAddress IP address of internal load balancer of the App Service Environment.
 * @property location The Azure Region where the App Service Environment exists.
 * @property name The name of the Cluster Setting.
 * @property outboundIpAddresses List of outbound IP addresses of the App Service Environment.
 * @property pricingTier The Pricing Tier (Isolated SKU) of the App Service Environment.
 * @property resourceGroupName
 * @property serviceIpAddress IP address of service endpoint of the App Service Environment.
 * @property tags A mapping of tags assigned to the App Service Environment.
 */
public data class GetAppServiceEnvironmentResult(
    public val clusterSettings: List,
    public val frontEndScaleFactor: Int,
    public val id: String,
    public val internalIpAddress: String,
    public val location: String,
    public val name: String,
    public val outboundIpAddresses: List,
    public val pricingTier: String,
    public val resourceGroupName: String,
    public val serviceIpAddress: String,
    public val tags: Map,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetAppServiceEnvironmentResult):
            GetAppServiceEnvironmentResult = GetAppServiceEnvironmentResult(
            clusterSettings = javaType.clusterSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetAppServiceEnvironmentClusterSetting.Companion.toKotlin(args0)
                })
            }),
            frontEndScaleFactor = javaType.frontEndScaleFactor(),
            id = javaType.id(),
            internalIpAddress = javaType.internalIpAddress(),
            location = javaType.location(),
            name = javaType.name(),
            outboundIpAddresses = javaType.outboundIpAddresses().map({ args0 -> args0 }),
            pricingTier = javaType.pricingTier(),
            resourceGroupName = javaType.resourceGroupName(),
            serviceIpAddress = javaType.serviceIpAddress(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy