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

com.pulumi.azurenative.azurefleet.kotlin.outputs.VirtualMachineScaleSetExtensionResponse.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.azurefleet.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Describes a Virtual Machine Scale Set Extension.
 * @property id Resource Id
 * @property name The name of the extension.
 * @property properties Describes the properties of a Virtual Machine Scale Set Extension.
 * @property type Resource type
 */
public data class VirtualMachineScaleSetExtensionResponse(
    public val id: String,
    public val name: String? = null,
    public val properties: VirtualMachineScaleSetExtensionPropertiesResponse? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetExtensionResponse): VirtualMachineScaleSetExtensionResponse = VirtualMachineScaleSetExtensionResponse(
            id = javaType.id(),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            properties = javaType.properties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.azurefleet.kotlin.outputs.VirtualMachineScaleSetExtensionPropertiesResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy