
com.pulumi.azurenative.azurefleet.kotlin.outputs.VirtualMachineScaleSetExtensionResponse.kt Maven / Gradle / Ivy
@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