
com.pulumi.azurenative.compute.kotlin.outputs.DedicatedHostInstanceViewResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The instance view of a dedicated host.
* @property assetId Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
* @property availableCapacity Unutilized capacity of the dedicated host.
* @property statuses The resource status information.
*/
public data class DedicatedHostInstanceViewResponse(
public val assetId: String,
public val availableCapacity: DedicatedHostAvailableCapacityResponse? = null,
public val statuses: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.compute.outputs.DedicatedHostInstanceViewResponse): DedicatedHostInstanceViewResponse = DedicatedHostInstanceViewResponse(
assetId = javaType.assetId(),
availableCapacity = javaType.availableCapacity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.compute.kotlin.outputs.DedicatedHostAvailableCapacityResponse.Companion.toKotlin(args0)
})
}).orElse(null),
statuses = javaType.statuses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.compute.kotlin.outputs.InstanceViewStatusResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy