com.pulumi.azurenative.azurelargeinstance.kotlin.inputs.StorageProfileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurelargeinstance.kotlin.inputs
import com.pulumi.azurenative.azurelargeinstance.inputs.StorageProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specifies the storage settings for the Azure Large Instance disks.
* @property nfsIpAddress IP Address to connect to storage.
* @property osDisks Specifies information about the operating system disk used by Azure Large
* Instance.
*/
public data class StorageProfileArgs(
public val nfsIpAddress: Output? = null,
public val osDisks: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurelargeinstance.inputs.StorageProfileArgs =
com.pulumi.azurenative.azurelargeinstance.inputs.StorageProfileArgs.builder()
.nfsIpAddress(nfsIpAddress?.applyValue({ args0 -> args0 }))
.osDisks(
osDisks?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StorageProfileArgs].
*/
@PulumiTagMarker
public class StorageProfileArgsBuilder internal constructor() {
private var nfsIpAddress: Output? = null
private var osDisks: Output>? = null
/**
* @param value IP Address to connect to storage.
*/
@JvmName("kkybmfyovgpxjtdv")
public suspend fun nfsIpAddress(`value`: Output) {
this.nfsIpAddress = value
}
/**
* @param value Specifies information about the operating system disk used by Azure Large
* Instance.
*/
@JvmName("yxfshvvieyccohxd")
public suspend fun osDisks(`value`: Output>) {
this.osDisks = value
}
@JvmName("pulgmixknfxrbnpu")
public suspend fun osDisks(vararg values: Output) {
this.osDisks = Output.all(values.asList())
}
/**
* @param values Specifies information about the operating system disk used by Azure Large
* Instance.
*/
@JvmName("shrrjvhevxpcxmvy")
public suspend fun osDisks(values: List