com.pulumi.alicloud.log.kotlin.outputs.GetServiceResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.alicloud.log.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getService.
* @property enable
* @property id The provider-assigned unique ID for this managed resource.
* @property status The current service enable status.
*/
public data class GetServiceResult(
public val enable: String? = null,
public val id: String,
public val status: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.alicloud.log.outputs.GetServiceResult): GetServiceResult = GetServiceResult(
enable = javaType.enable().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
status = javaType.status(),
)
}
}