com.pulumi.nomad.kotlin.outputs.CsiVolumeCapability.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-nomad-kotlin Show documentation
Show all versions of pulumi-nomad-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.nomad.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property accessMode `(string: )` - Defines whether a volume should be available concurrently. Possible values are:
* - `single-node-reader-only`
* - `single-node-writer`
* - `multi-node-reader-only`
* - `multi-node-single-writer`
* - `multi-node-multi-writer`
* @property attachmentMode `(string: )` - The storage API that will be used by the volume. Possible values are:
* - `block-device`
* - `file-system`
*/
public data class CsiVolumeCapability(
public val accessMode: String,
public val attachmentMode: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.nomad.outputs.CsiVolumeCapability): CsiVolumeCapability = CsiVolumeCapability(
accessMode = javaType.accessMode(),
attachmentMode = javaType.attachmentMode(),
)
}
}