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

com.pulumi.azure.automation.kotlin.outputs.RunBookPublishContentLink.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.automation.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property hash A `hash` block as defined below.
 * @property uri The URI of the runbook content.
 * @property version Specifies the version of the content
 */
public data class RunBookPublishContentLink(
    public val hash: RunBookPublishContentLinkHash? = null,
    public val uri: String,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.RunBookPublishContentLink): RunBookPublishContentLink = RunBookPublishContentLink(
            hash = javaType.hash().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.RunBookPublishContentLinkHash.Companion.toKotlin(args0)
                })
            }).orElse(null),
            uri = javaType.uri(),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy