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

com.pulumi.azurenative.workloads.kotlin.outputs.DeploymentConfigurationResponse.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.workloads.kotlin.outputs

import com.pulumi.core.Either
import kotlin.Any
import kotlin.String
import kotlin.Suppress

/**
 * Deployment Configuration.
 * @property appLocation The geo-location where the SAP system is to be created.
 * @property configurationType The configuration Type.
 * Expected value is 'Deployment'.
 * @property infrastructureConfiguration The infrastructure configuration.
 * @property softwareConfiguration The software configuration.
 */
public data class DeploymentConfigurationResponse(
    public val appLocation: String? = null,
    public val configurationType: String,
    public val infrastructureConfiguration: Either? = null,
    public val softwareConfiguration: Any? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.workloads.outputs.DeploymentConfigurationResponse): DeploymentConfigurationResponse = DeploymentConfigurationResponse(
            appLocation = javaType.appLocation().map({ args0 -> args0 }).orElse(null),
            configurationType = javaType.configurationType(),
            infrastructureConfiguration = javaType.infrastructureConfiguration().map({ args0 ->
                args0.transform(
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.azurenative.workloads.kotlin.outputs.SingleServerConfigurationResponse.Companion.toKotlin(args0)
                        })
                    },
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.azurenative.workloads.kotlin.outputs.ThreeTierConfigurationResponse.Companion.toKotlin(args0)
                        })
                    },
                )
            }).orElse(null),
            softwareConfiguration = javaType.softwareConfiguration().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy