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

com.pulumi.azure.workloadssap.kotlin.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs.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.inputs

import com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property numberOfDisks The total number of disks required for the concerned volume. Possible values are at least `1`. Changing this forces a new resource to be created.
 * @property sizeInGb The size of the Disk in GB. Changing this forces a new resource to be created.
 * @property skuName The name of the Disk SKU. Possible values are `Premium_LRS`, `PremiumV2_LRS`, `Premium_ZRS`, `Standard_LRS`, `StandardSSD_LRS`, `StandardSSD_ZRS` and `UltraSSD_LRS`. Changing this forces a new resource to be created.
 * @property volumeName Specifies the volumn name of the database disk. Possible values are `backup`, `hana/data`, `hana/log`, `hana/shared`, `os` and `usr/sap`. Changing this forces a new resource to be created.
 */
public data class
ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs(
    public val numberOfDisks: Output,
    public val sizeInGb: Output,
    public val skuName: Output,
    public val volumeName: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs =
        com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs.builder()
            .numberOfDisks(numberOfDisks.applyValue({ args0 -> args0 }))
            .sizeInGb(sizeInGb.applyValue({ args0 -> args0 }))
            .skuName(skuName.applyValue({ args0 -> args0 }))
            .volumeName(volumeName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs].
 */
@PulumiTagMarker
public class
ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgsBuilder
internal constructor() {
    private var numberOfDisks: Output? = null

    private var sizeInGb: Output? = null

    private var skuName: Output? = null

    private var volumeName: Output? = null

    /**
     * @param value The total number of disks required for the concerned volume. Possible values are at least `1`. Changing this forces a new resource to be created.
     */
    @JvmName("ripkiekicnmghkti")
    public suspend fun numberOfDisks(`value`: Output) {
        this.numberOfDisks = value
    }

    /**
     * @param value The size of the Disk in GB. Changing this forces a new resource to be created.
     */
    @JvmName("pgbmgxfqdylwbegs")
    public suspend fun sizeInGb(`value`: Output) {
        this.sizeInGb = value
    }

    /**
     * @param value The name of the Disk SKU. Possible values are `Premium_LRS`, `PremiumV2_LRS`, `Premium_ZRS`, `Standard_LRS`, `StandardSSD_LRS`, `StandardSSD_ZRS` and `UltraSSD_LRS`. Changing this forces a new resource to be created.
     */
    @JvmName("brqrcxljbsqlajki")
    public suspend fun skuName(`value`: Output) {
        this.skuName = value
    }

    /**
     * @param value Specifies the volumn name of the database disk. Possible values are `backup`, `hana/data`, `hana/log`, `hana/shared`, `os` and `usr/sap`. Changing this forces a new resource to be created.
     */
    @JvmName("dukydexdpgryuwjo")
    public suspend fun volumeName(`value`: Output) {
        this.volumeName = value
    }

    /**
     * @param value The total number of disks required for the concerned volume. Possible values are at least `1`. Changing this forces a new resource to be created.
     */
    @JvmName("jxdkexayfmpmcrgh")
    public suspend fun numberOfDisks(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.numberOfDisks = mapped
    }

    /**
     * @param value The size of the Disk in GB. Changing this forces a new resource to be created.
     */
    @JvmName("tlccbxijoirjjasw")
    public suspend fun sizeInGb(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sizeInGb = mapped
    }

    /**
     * @param value The name of the Disk SKU. Possible values are `Premium_LRS`, `PremiumV2_LRS`, `Premium_ZRS`, `Standard_LRS`, `StandardSSD_LRS`, `StandardSSD_ZRS` and `UltraSSD_LRS`. Changing this forces a new resource to be created.
     */
    @JvmName("dfblyxtovpbvhtnd")
    public suspend fun skuName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.skuName = mapped
    }

    /**
     * @param value Specifies the volumn name of the database disk. Possible values are `backup`, `hana/data`, `hana/log`, `hana/shared`, `os` and `usr/sap`. Changing this forces a new resource to be created.
     */
    @JvmName("esoihydybvrtrpho")
    public suspend fun volumeName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.volumeName = mapped
    }

    internal fun build(): ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs =
        ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationDiskVolumeConfigurationArgs(
            numberOfDisks = numberOfDisks ?: throw PulumiNullFieldException("numberOfDisks"),
            sizeInGb = sizeInGb ?: throw PulumiNullFieldException("sizeInGb"),
            skuName = skuName ?: throw PulumiNullFieldException("skuName"),
            volumeName = volumeName ?: throw PulumiNullFieldException("volumeName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy