
com.pulumi.azure.workloadssap.kotlin.inputs.SingleNodeVirtualInstanceSingleServerConfigurationArgs.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.SingleNodeVirtualInstanceSingleServerConfigurationArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property appResourceGroupName
* @property databaseType The supported SAP database type. 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 secondaryIpEnabled Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. Defaults to `false`. Changing this forces a new resource to be created.
* @property subnetId The resource ID of the Subnet for the SAP Single Node Virtual Instance. 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.
* @property virtualMachineResourceNames A `virtual_machine_resource_names` block as defined below. Changing this forces a new resource to be created.
*/
public data class SingleNodeVirtualInstanceSingleServerConfigurationArgs(
public val appResourceGroupName: Output,
public val databaseType: Output? = null,
public val diskVolumeConfigurations: Output>? =
null,
public val secondaryIpEnabled: Output? = null,
public val subnetId: Output,
public val virtualMachineConfiguration: Output,
public val virtualMachineResourceNames: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationArgs =
com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationArgs.builder()
.appResourceGroupName(appResourceGroupName.applyValue({ args0 -> args0 }))
.databaseType(databaseType?.applyValue({ args0 -> args0 }))
.diskVolumeConfigurations(
diskVolumeConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.secondaryIpEnabled(secondaryIpEnabled?.applyValue({ args0 -> args0 }))
.subnetId(subnetId.applyValue({ args0 -> args0 }))
.virtualMachineConfiguration(
virtualMachineConfiguration.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.virtualMachineResourceNames(
virtualMachineResourceNames?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [SingleNodeVirtualInstanceSingleServerConfigurationArgs].
*/
@PulumiTagMarker
public class SingleNodeVirtualInstanceSingleServerConfigurationArgsBuilder internal constructor() {
private var appResourceGroupName: Output? = null
private var databaseType: Output? = null
private var diskVolumeConfigurations:
Output>? =
null
private var secondaryIpEnabled: Output? = null
private var subnetId: Output? = null
private var virtualMachineConfiguration:
Output? =
null
private var virtualMachineResourceNames:
Output? =
null
/**
* @param value
*/
@JvmName("bxpbglpabpshwhoo")
public suspend fun appResourceGroupName(`value`: Output) {
this.appResourceGroupName = value
}
/**
* @param value The supported SAP database type. Possible values are `DB2` and `HANA`. Changing this forces a new resource to be created.
*/
@JvmName("nmlbjcdaesncwsic")
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("yuohefuhbsyxjpbp")
public suspend fun diskVolumeConfigurations(`value`: Output>) {
this.diskVolumeConfigurations = value
}
@JvmName("mqcugjootblnfpye")
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("ckofuldllenwtsfd")
public suspend fun diskVolumeConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy