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

com.pulumi.azurenative.serialconsole.kotlin.outputs.GetSerialPortResult.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.serialconsole.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Represents the serial port of the parent resource.
 * @property id Resource Id
 * @property name Resource name
 * @property state Specifies whether the port is enabled for a serial console connection.
 * @property type Resource type
 */
public data class GetSerialPortResult(
    public val id: String,
    public val name: String,
    public val state: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.serialconsole.outputs.GetSerialPortResult): GetSerialPortResult = GetSerialPortResult(
            id = javaType.id(),
            name = javaType.name(),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy