All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.recoveryservices.kotlin.outputs.DraDetailsResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.recoveryservices.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * DRA details.
 * @property biosId The DRA Bios Id.
 * @property forwardProtectedItemCount The count of protected items which are protected in forward direction.
 * @property health The health.
 * @property healthErrors The health errors.
 * @property id The DRA Id.
 * @property lastHeartbeatUtc The last heartbeat received from the DRA.
 * @property name The DRA name.
 * @property reverseProtectedItemCount The count of protected items which are protected in reverse direction.
 * @property version The version.
 */
public data class DraDetailsResponse(
    public val biosId: String,
    public val forwardProtectedItemCount: Int,
    public val health: String,
    public val healthErrors: List,
    public val id: String,
    public val lastHeartbeatUtc: String,
    public val name: String,
    public val reverseProtectedItemCount: Int,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.recoveryservices.outputs.DraDetailsResponse): DraDetailsResponse = DraDetailsResponse(
            biosId = javaType.biosId(),
            forwardProtectedItemCount = javaType.forwardProtectedItemCount(),
            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(),
            reverseProtectedItemCount = javaType.reverseProtectedItemCount(),
            version = javaType.version(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy