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

com.pulumi.nomad.kotlin.outputs.CsiVolumeCapability.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: 2.4.0.0
Show newest version
@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(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy