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

com.pulumi.azure.automation.kotlin.outputs.RunBookJobSchedule.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
import kotlin.collections.Map

/**
 *
 * @property jobScheduleId The UUID of automation runbook job schedule ID.
 * @property parameters A map of key/value pairs corresponding to the arguments that can be passed to the Runbook.
 * > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
 * @property runOn Name of a Hybrid Worker Group the Runbook will be executed on.
 * @property scheduleName The name of the Schedule.
 */
public data class RunBookJobSchedule(
    public val jobScheduleId: String? = null,
    public val parameters: Map? = null,
    public val runOn: String? = null,
    public val scheduleName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.RunBookJobSchedule): RunBookJobSchedule = RunBookJobSchedule(
            jobScheduleId = javaType.jobScheduleId().map({ args0 -> args0 }).orElse(null),
            parameters = javaType.parameters().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            runOn = javaType.runOn().map({ args0 -> args0 }).orElse(null),
            scheduleName = javaType.scheduleName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy