com.pulumi.azure.automation.kotlin.outputs.GetRunbookResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.automation.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getRunbook.
* @property automationAccountName
* @property content The content of the Runbook.
* @property description The description of the Runbook.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure Region where the Runbook exists.
* @property logActivityTraceLevel The activity-level tracing of the Runbook.
* @property logProgress The Progress log option of the Runbook.
* @property logVerbose The Verbose log option of the Runbook.
* @property name
* @property resourceGroupName
* @property runbookType The type of Runbook.
* @property tags A mapping of tags assigned to the Runbook.
*/
public data class GetRunbookResult(
public val automationAccountName: String,
public val content: String,
public val description: String,
public val id: String,
public val location: String,
public val logActivityTraceLevel: Int,
public val logProgress: Boolean,
public val logVerbose: Boolean,
public val name: String,
public val resourceGroupName: String,
public val runbookType: String,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.GetRunbookResult): GetRunbookResult = GetRunbookResult(
automationAccountName = javaType.automationAccountName(),
content = javaType.content(),
description = javaType.description(),
id = javaType.id(),
location = javaType.location(),
logActivityTraceLevel = javaType.logActivityTraceLevel(),
logProgress = javaType.logProgress(),
logVerbose = javaType.logVerbose(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
runbookType = javaType.runbookType(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}