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

com.pulumi.azurenative.web.kotlin.outputs.VolumeMountResponse.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.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property containerMountPath Target path on the container where volume is mounted on
 * @property data Config Data to be mounted on the volume
 * @property readOnly Boolean to specify if the mount is read only on the container
 * @property volumeSubPath Sub path in the volume where volume is mounted from.
 */
public data class VolumeMountResponse(
    public val containerMountPath: String,
    public val `data`: String? = null,
    public val readOnly: Boolean? = null,
    public val volumeSubPath: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.VolumeMountResponse): VolumeMountResponse = VolumeMountResponse(
            containerMountPath = javaType.containerMountPath(),
            `data` = javaType.`data`().map({ args0 -> args0 }).orElse(null),
            readOnly = javaType.readOnly().map({ args0 -> args0 }).orElse(null),
            volumeSubPath = javaType.volumeSubPath(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy