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

com.pulumi.azure.workloadssap.kotlin.outputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfiguration.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.workloadssap.kotlin.outputs

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

/**
 *
 * @property databaseType The database type for the Database Server. Possible values are `DB2` and `HANA`. Changing this forces a new resource to be created.
 * @property diskVolumeConfigurations One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
 * @property instanceCount The number of instances for the Database Server. Possible values are at least `1`. Changing this forces a new resource to be created.
 * @property subnetId The resource ID of the Subnet for the Database Server. Changing this forces a new resource to be created.
 * @property virtualMachineConfiguration A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
 */
public data class ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfiguration(
    public val databaseType: String? = null,
    public val diskVolumeConfigurations: List? =
        null,
    public val instanceCount: Int,
    public val subnetId: String,
    public val virtualMachineConfiguration: ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfiguration,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.workloadssap.outputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfiguration): ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfiguration =
            ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfiguration(
                databaseType = javaType.databaseType().map({ args0 -> args0 }).orElse(null),
                diskVolumeConfigurations = javaType.diskVolumeConfigurations().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.workloadssap.kotlin.outputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfiguration.Companion.toKotlin(args0)
                    })
                }),
                instanceCount = javaType.instanceCount(),
                subnetId = javaType.subnetId(),
                virtualMachineConfiguration = javaType.virtualMachineConfiguration().let({ args0 ->
                    com.pulumi.azure.workloadssap.kotlin.outputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfiguration.Companion.toKotlin(args0)
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy