com.pulumi.azure.workloadssap.kotlin.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.workloadssap.kotlin.inputs
import com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationArgs(
public val databaseType: Output? = null,
public val diskVolumeConfigurations:
Output>? =
null,
public val instanceCount: Output,
public val subnetId: Output,
public val virtualMachineConfiguration:
Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationArgs =
com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationArgs.builder()
.databaseType(databaseType?.applyValue({ args0 -> args0 }))
.diskVolumeConfigurations(
diskVolumeConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.instanceCount(instanceCount.applyValue({ args0 -> args0 }))
.subnetId(subnetId.applyValue({ args0 -> args0 }))
.virtualMachineConfiguration(
virtualMachineConfiguration.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationArgs].
*/
@PulumiTagMarker
public class ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationArgsBuilder
internal constructor() {
private var databaseType: Output? = null
private var diskVolumeConfigurations:
Output>? =
null
private var instanceCount: Output? = null
private var subnetId: Output? = null
private var virtualMachineConfiguration:
Output? =
null
/**
* @param value The database type for the Database Server. Possible values are `DB2` and `HANA`. Changing this forces a new resource to be created.
*/
@JvmName("kxywfakobkoqmutx")
public suspend fun databaseType(`value`: Output) {
this.databaseType = value
}
/**
* @param value One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
*/
@JvmName("ahuwhwxdhsduclmu")
public suspend
fun diskVolumeConfigurations(`value`: Output>) {
this.diskVolumeConfigurations = value
}
@JvmName("sxchqsgqtubmconw")
public suspend fun diskVolumeConfigurations(
vararg
values: Output,
) {
this.diskVolumeConfigurations = Output.all(values.asList())
}
/**
* @param values One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
*/
@JvmName("ttbfxyjhwynqcjha")
public suspend
fun diskVolumeConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy