
com.pulumi.azurenative.recoveryservices.kotlin.outputs.MarsAgentDetailsResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.recoveryservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Mars agent details.
* @property biosId The Mars agent Bios Id.
* @property fabricObjectId The fabric object Id.
* @property fqdn The Mars agent Fqdn.
* @property health The health of the Mars agent.
* @property healthErrors The health errors.
* @property id The Mars agent Id.
* @property lastHeartbeatUtc The last heartbeat received from the Mars agent.
* @property name The Mars agent name.
* @property version The version.
*/
public data class MarsAgentDetailsResponse(
public val biosId: String,
public val fabricObjectId: String,
public val fqdn: String,
public val health: String,
public val healthErrors: List,
public val id: String,
public val lastHeartbeatUtc: String,
public val name: String,
public val version: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.recoveryservices.outputs.MarsAgentDetailsResponse): MarsAgentDetailsResponse = MarsAgentDetailsResponse(
biosId = javaType.biosId(),
fabricObjectId = javaType.fabricObjectId(),
fqdn = javaType.fqdn(),
health = javaType.health(),
healthErrors = javaType.healthErrors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.recoveryservices.kotlin.outputs.HealthErrorResponse.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
lastHeartbeatUtc = javaType.lastHeartbeatUtc(),
name = javaType.name(),
version = javaType.version(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy