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

com.pulumi.azure.compute.kotlin.outputs.GetImageOsDisk.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.outputs

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

/**
 *
 * @property blobUri the URI in Azure storage of the blob used to create the image.
 * @property caching the caching mode for the Data Disk, such as `ReadWrite`, `ReadOnly`, or `None`.
 * @property managedDiskId the ID of the Managed Disk used as the Data Disk Image.
 * @property osState the State of the OS used in the Image, such as `Generalized`.
 * @property osType the type of Operating System used on the OS Disk. such as `Linux` or `Windows`.
 * @property sizeGb the size of this Data Disk in GB.
 */
public data class GetImageOsDisk(
    public val blobUri: String,
    public val caching: String,
    public val managedDiskId: String,
    public val osState: String,
    public val osType: String,
    public val sizeGb: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetImageOsDisk): GetImageOsDisk =
            GetImageOsDisk(
                blobUri = javaType.blobUri(),
                caching = javaType.caching(),
                managedDiskId = javaType.managedDiskId(),
                osState = javaType.osState(),
                osType = javaType.osType(),
                sizeGb = javaType.sizeGb(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy