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

com.pulumi.azurenative.app.kotlin.outputs.GetContainerAppsSessionPoolResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.app.kotlin.outputs

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

/**
 * Container App session pool.
 * @property containerType The container type of the sessions.
 * @property customContainerTemplate The custom container configuration if the containerType is CustomContainer.
 * @property dynamicPoolConfiguration The pool configuration if the poolManagementType is dynamic.
 * @property environmentId Resource ID of the session pool's environment.
 * @property id Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 * @property location The geo-location where the resource lives
 * @property name The name of the resource
 * @property nodeCount The number of nodes the session pool is using.
 * @property poolManagementEndpoint The endpoint to manage the pool.
 * @property poolManagementType The pool management type of the session pool.
 * @property provisioningState Provisioning state of the session pool.
 * @property scaleConfiguration The scale configuration of the session pool.
 * @property secrets The secrets of the session pool.
 * @property sessionNetworkConfiguration The network configuration of the sessions in the session pool.
 * @property systemData Azure Resource Manager metadata containing createdBy and modifiedBy information.
 * @property tags Resource tags.
 * @property type The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 */
public data class GetContainerAppsSessionPoolResult(
    public val containerType: String? = null,
    public val customContainerTemplate: CustomContainerTemplateResponse? = null,
    public val dynamicPoolConfiguration: DynamicPoolConfigurationResponse? = null,
    public val environmentId: String? = null,
    public val id: String,
    public val location: String,
    public val name: String,
    public val nodeCount: Int,
    public val poolManagementEndpoint: String,
    public val poolManagementType: String? = null,
    public val provisioningState: String,
    public val scaleConfiguration: ScaleConfigurationResponse? = null,
    public val secrets: List? = null,
    public val sessionNetworkConfiguration: SessionNetworkConfigurationResponse? = null,
    public val systemData: SystemDataResponse,
    public val tags: Map? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.app.outputs.GetContainerAppsSessionPoolResult): GetContainerAppsSessionPoolResult = GetContainerAppsSessionPoolResult(
            containerType = javaType.containerType().map({ args0 -> args0 }).orElse(null),
            customContainerTemplate = javaType.customContainerTemplate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.app.kotlin.outputs.CustomContainerTemplateResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            dynamicPoolConfiguration = javaType.dynamicPoolConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.app.kotlin.outputs.DynamicPoolConfigurationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            environmentId = javaType.environmentId().map({ args0 -> args0 }).orElse(null),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            nodeCount = javaType.nodeCount(),
            poolManagementEndpoint = javaType.poolManagementEndpoint(),
            poolManagementType = javaType.poolManagementType().map({ args0 -> args0 }).orElse(null),
            provisioningState = javaType.provisioningState(),
            scaleConfiguration = javaType.scaleConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.app.kotlin.outputs.ScaleConfigurationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            secrets = javaType.secrets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.app.kotlin.outputs.SessionPoolSecretResponse.Companion.toKotlin(args0)
                })
            }),
            sessionNetworkConfiguration = javaType.sessionNetworkConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.app.kotlin.outputs.SessionNetworkConfigurationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            systemData = javaType.systemData().let({ args0 ->
                com.pulumi.azurenative.app.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy