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

com.pulumi.azurenative.hdinsight.kotlin.outputs.RuntimeScriptActionResponse.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.hdinsight.kotlin.outputs

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

/**
 * Describes a script action on a running cluster.
 * @property applicationName The application name of the script action, if any.
 * @property name The name of the script action.
 * @property parameters The parameters for the script
 * @property roles The list of roles where script will be executed.
 * @property uri The URI to the script.
 */
public data class RuntimeScriptActionResponse(
    public val applicationName: String,
    public val name: String,
    public val parameters: String? = null,
    public val roles: List,
    public val uri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.hdinsight.outputs.RuntimeScriptActionResponse): RuntimeScriptActionResponse = RuntimeScriptActionResponse(
            applicationName = javaType.applicationName(),
            name = javaType.name(),
            parameters = javaType.parameters().map({ args0 -> args0 }).orElse(null),
            roles = javaType.roles().map({ args0 -> args0 }),
            uri = javaType.uri(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy