![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.outputs.ManagedDiskParametersResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* The parameters of a managed disk.
* @property diskEncryptionSet Specifies the customer managed disk encryption set resource id for the managed disk.
* @property id Resource Id
* @property securityProfile Specifies the security profile for the managed disk.
* @property storageAccountType Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
*/
public data class ManagedDiskParametersResponse(
public val diskEncryptionSet: DiskEncryptionSetParametersResponse? = null,
public val id: String? = null,
public val securityProfile: VMDiskSecurityProfileResponse? = null,
public val storageAccountType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.compute.outputs.ManagedDiskParametersResponse): ManagedDiskParametersResponse = ManagedDiskParametersResponse(
diskEncryptionSet = javaType.diskEncryptionSet().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.compute.kotlin.outputs.DiskEncryptionSetParametersResponse.Companion.toKotlin(args0)
})
}).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
securityProfile = javaType.securityProfile().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.compute.kotlin.outputs.VMDiskSecurityProfileResponse.Companion.toKotlin(args0)
})
}).orElse(null),
storageAccountType = javaType.storageAccountType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy