![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.GetVirtualMachineScaleSetResult.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getVirtualMachineScaleSet.
* @property id The provider-assigned unique ID for this managed resource.
* @property identities A `identity` block as defined below.
* @property instances A list of `instances` blocks as defined below.
* @property location The Azure Region in which this Virtual Machine Scale Set exists.
* @property name The name of the public IP address configuration
* @property networkInterfaces A list of `network_interface` blocks as defined below.
* @property resourceGroupName
*/
public data class GetVirtualMachineScaleSetResult(
public val id: String,
public val identities: List,
public val instances: List,
public val location: String,
public val name: String,
public val networkInterfaces: List,
public val resourceGroupName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetVirtualMachineScaleSetResult): GetVirtualMachineScaleSetResult = GetVirtualMachineScaleSetResult(
id = javaType.id(),
identities = javaType.identities().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetVirtualMachineScaleSetIdentity.Companion.toKotlin(args0)
})
}),
instances = javaType.instances().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetVirtualMachineScaleSetInstance.Companion.toKotlin(args0)
})
}),
location = javaType.location(),
name = javaType.name(),
networkInterfaces = javaType.networkInterfaces().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetVirtualMachineScaleSetNetworkInterface.Companion.toKotlin(args0)
})
}),
resourceGroupName = javaType.resourceGroupName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy