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

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

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

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

/**
 *
 * @property availabilitySetName The full name for the availability set. Changing this forces a new resource to be created.
 * @property loadBalancer A `load_balancer` block as defined below. Changing this forces a new resource to be created.
 * @property virtualMachines One or more `virtual_machine` blocks as defined below. Changing this forces a new resource to be created.
 */
public data class ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServer(
    public val availabilitySetName: String? = null,
    public val loadBalancer:
    ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerLoadBalancer? = null,
    public val virtualMachines:
    List? =
        null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.workloadssap.outputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServer):
            ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServer =
            ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServer(
                availabilitySetName = javaType.availabilitySetName().map({ args0 -> args0 }).orElse(null),
                loadBalancer = javaType.loadBalancer().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.workloadssap.kotlin.outputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerLoadBalancer.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                virtualMachines = javaType.virtualMachines().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.workloadssap.kotlin.outputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy