com.pulumi.azure.compute.kotlin.outputs.RunCommandSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property commandId
* @property script
* @property scriptUri
* @property scriptUriManagedIdentity A `script_uri_managed_identity` block as defined above.
*/
public data class RunCommandSource(
public val commandId: String? = null,
public val script: String? = null,
public val scriptUri: String? = null,
public val scriptUriManagedIdentity: RunCommandSourceScriptUriManagedIdentity? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.RunCommandSource):
RunCommandSource = RunCommandSource(
commandId = javaType.commandId().map({ args0 -> args0 }).orElse(null),
script = javaType.script().map({ args0 -> args0 }).orElse(null),
scriptUri = javaType.scriptUri().map({ args0 -> args0 }).orElse(null),
scriptUriManagedIdentity = javaType.scriptUriManagedIdentity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.RunCommandSourceScriptUriManagedIdentity.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy