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

com.pulumi.azurenative.sql.kotlin.outputs.GetJobAgentResult.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.sql.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * An Azure SQL job agent.
 * @property databaseId Resource ID of the database to store job metadata in.
 * @property id Resource ID.
 * @property location Resource location.
 * @property name Resource name.
 * @property sku The name and tier of the SKU.
 * @property state The state of the job agent.
 * @property tags Resource tags.
 * @property type Resource type.
 */
public data class GetJobAgentResult(
    public val databaseId: String,
    public val id: String,
    public val location: String,
    public val name: String,
    public val sku: SkuResponse? = null,
    public val state: String,
    public val tags: Map? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.sql.outputs.GetJobAgentResult): GetJobAgentResult = GetJobAgentResult(
            databaseId = javaType.databaseId(),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            sku = javaType.sku().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.sql.kotlin.outputs.SkuResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            state = javaType.state(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy