![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.GetSnapshotResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getSnapshot.
* @property creationOption
* @property diskSizeGb The size of the Snapshotted Disk in GB.
* @property encryptionSettings
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property osType
* @property resourceGroupName
* @property sourceResourceId The reference to an existing snapshot.
* @property sourceUri The URI to a Managed or Unmanaged Disk.
* @property storageAccountId The ID of an storage account.
* @property timeCreated
* @property trustedLaunchEnabled Whether Trusted Launch is enabled for the Snapshot.
*/
public data class GetSnapshotResult(
public val creationOption: String,
public val diskSizeGb: Int,
public val encryptionSettings: List,
public val id: String,
public val name: String,
public val osType: String,
public val resourceGroupName: String,
public val sourceResourceId: String,
public val sourceUri: String,
public val storageAccountId: String,
public val timeCreated: String,
public val trustedLaunchEnabled: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetSnapshotResult): GetSnapshotResult = GetSnapshotResult(
creationOption = javaType.creationOption(),
diskSizeGb = javaType.diskSizeGb(),
encryptionSettings = javaType.encryptionSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetSnapshotEncryptionSetting.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
name = javaType.name(),
osType = javaType.osType(),
resourceGroupName = javaType.resourceGroupName(),
sourceResourceId = javaType.sourceResourceId(),
sourceUri = javaType.sourceUri(),
storageAccountId = javaType.storageAccountId(),
timeCreated = javaType.timeCreated(),
trustedLaunchEnabled = javaType.trustedLaunchEnabled(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy