com.pulumi.azure.compute.kotlin.outputs.GetVirtualMachineScaleSetInstance.kt Maven / Gradle / Ivy
@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
/**
*
* @property computerName The Hostname of this Virtual Machine.
* @property instanceId The Instance ID of this Virtual Machine.
* @property latestModelApplied Whether the latest model has been applied to this Virtual Machine.
* @property name The name of this Virtual Machine Scale Set.
* @property powerState The power state of the virtual machine.
* @property privateIpAddress The Primary Private IP Address assigned to this Virtual Machine.
* @property privateIpAddresses A list of Private IP Addresses assigned to this Virtual Machine.
* @property publicIpAddress The virtual machines scale set IP Configuration's PublicIPAddress configuration. The `public_ip_address` is documented below.
* @property publicIpAddresses A list of the Public IP Addresses assigned to this Virtual Machine.
* @property virtualMachineId The unique ID of the virtual machine.
* @property zone The zones of the virtual machine.
*/
public data class GetVirtualMachineScaleSetInstance(
public val computerName: String,
public val instanceId: String,
public val latestModelApplied: Boolean,
public val name: String,
public val powerState: String,
public val privateIpAddress: String,
public val privateIpAddresses: List,
public val publicIpAddress: String,
public val publicIpAddresses: List,
public val virtualMachineId: String,
public val zone: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetVirtualMachineScaleSetInstance): GetVirtualMachineScaleSetInstance = GetVirtualMachineScaleSetInstance(
computerName = javaType.computerName(),
instanceId = javaType.instanceId(),
latestModelApplied = javaType.latestModelApplied(),
name = javaType.name(),
powerState = javaType.powerState(),
privateIpAddress = javaType.privateIpAddress(),
privateIpAddresses = javaType.privateIpAddresses().map({ args0 -> args0 }),
publicIpAddress = javaType.publicIpAddress(),
publicIpAddresses = javaType.publicIpAddresses().map({ args0 -> args0 }),
virtualMachineId = javaType.virtualMachineId(),
zone = javaType.zone(),
)
}
}