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

com.pulumi.azure.compute.kotlin.outputs.GetSharedImageResult.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getSharedImage.
 * @property architecture
 * @property description The description of this Shared Image.
 * @property eula The End User Licence Agreement for the Shared Image.
 * @property galleryName
 * @property hyperVGeneration The generation of HyperV that the Virtual Machine used to create the Shared Image is based on.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identifiers An `identifier` block as defined below.
 * @property location The supported Azure location where the Shared Image Gallery exists.
 * @property name (Required) The Purchase Plan Name for this Shared Image.
 * @property osType The type of Operating System present in this Shared Image.
 * @property privacyStatementUri The URI containing the Privacy Statement for this Shared Image.
 * @property purchasePlans (Optional) A `purchase_plan` block as defined below.
 * @property releaseNoteUri The URI containing the Release Notes for this Shared Image.
 * @property resourceGroupName
 * @property specialized Specifies that the Operating System used inside this Image has not been Generalized (for example, `sysprep` on Windows has not been run).
 * @property tags A mapping of tags assigned to the Shared Image.
 */
public data class GetSharedImageResult(
    public val architecture: String,
    public val description: String,
    public val eula: String,
    public val galleryName: String,
    public val hyperVGeneration: String,
    public val id: String,
    public val identifiers: List,
    public val location: String,
    public val name: String,
    public val osType: String,
    public val privacyStatementUri: String,
    public val purchasePlans: List,
    public val releaseNoteUri: String,
    public val resourceGroupName: String,
    public val specialized: Boolean,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetSharedImageResult): GetSharedImageResult = GetSharedImageResult(
            architecture = javaType.architecture(),
            description = javaType.description(),
            eula = javaType.eula(),
            galleryName = javaType.galleryName(),
            hyperVGeneration = javaType.hyperVGeneration(),
            id = javaType.id(),
            identifiers = javaType.identifiers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.GetSharedImageIdentifier.Companion.toKotlin(args0)
                })
            }),
            location = javaType.location(),
            name = javaType.name(),
            osType = javaType.osType(),
            privacyStatementUri = javaType.privacyStatementUri(),
            purchasePlans = javaType.purchasePlans().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.GetSharedImagePurchasePlan.Companion.toKotlin(args0)
                })
            }),
            releaseNoteUri = javaType.releaseNoteUri(),
            resourceGroupName = javaType.resourceGroupName(),
            specialized = javaType.specialized(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy