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

com.pulumi.azurenative.appplatform.kotlin.outputs.PersistentDiskResponse.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.appplatform.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * Persistent disk payload
 * @property mountPath Mount path of the persistent disk
 * @property sizeInGB Size of the persistent disk in GB
 * @property usedInGB Size of the used persistent disk in GB
 */
public data class PersistentDiskResponse(
    public val mountPath: String? = null,
    public val sizeInGB: Int? = null,
    public val usedInGB: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.appplatform.outputs.PersistentDiskResponse): PersistentDiskResponse = PersistentDiskResponse(
            mountPath = javaType.mountPath().map({ args0 -> args0 }).orElse(null),
            sizeInGB = javaType.sizeInGB().map({ args0 -> args0 }).orElse(null),
            usedInGB = javaType.usedInGB(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy