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

com.pulumi.azurenative.vmwarecloudsimple.kotlin.outputs.VirtualDiskResponse.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.vmwarecloudsimple.kotlin.outputs

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

/**
 * Virtual disk model
 * @property controllerId Disk's Controller id
 * @property independenceMode Disk's independence mode type
 * @property totalSize Disk's total size
 * @property virtualDiskId Disk's id
 * @property virtualDiskName Disk's display name
 */
public data class VirtualDiskResponse(
    public val controllerId: String,
    public val independenceMode: String,
    public val totalSize: Int,
    public val virtualDiskId: String? = null,
    public val virtualDiskName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.vmwarecloudsimple.outputs.VirtualDiskResponse): VirtualDiskResponse = VirtualDiskResponse(
            controllerId = javaType.controllerId(),
            independenceMode = javaType.independenceMode(),
            totalSize = javaType.totalSize(),
            virtualDiskId = javaType.virtualDiskId().map({ args0 -> args0 }).orElse(null),
            virtualDiskName = javaType.virtualDiskName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy