![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.workloads.kotlin.outputs.DeploymentConfigurationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.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