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

com.pulumi.azure.compute.kotlin.outputs.RunCommandInstanceView.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property endTime
 * @property errorMessage
 * @property executionMessage
 * @property executionState
 * @property exitCode
 * @property output
 * @property startTime
 */
public data class RunCommandInstanceView(
    public val endTime: String? = null,
    public val errorMessage: String? = null,
    public val executionMessage: String? = null,
    public val executionState: String? = null,
    public val exitCode: Int? = null,
    public val output: String? = null,
    public val startTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.RunCommandInstanceView): RunCommandInstanceView = RunCommandInstanceView(
            endTime = javaType.endTime().map({ args0 -> args0 }).orElse(null),
            errorMessage = javaType.errorMessage().map({ args0 -> args0 }).orElse(null),
            executionMessage = javaType.executionMessage().map({ args0 -> args0 }).orElse(null),
            executionState = javaType.executionState().map({ args0 -> args0 }).orElse(null),
            exitCode = javaType.exitCode().map({ args0 -> args0 }).orElse(null),
            output = javaType.output().map({ args0 -> args0 }).orElse(null),
            startTime = javaType.startTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy