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

com.pulumi.nomad.kotlin.outputs.GetDeploymentsResult.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.4.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.nomad.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getDeployments.
 * @property deployments `list of maps` a list of deployments in the cluster.
 * * `ID`: `string` Deployment ID.
 * * `JobID`: `string` Job ID associated with the deployment.
 * * `JobVersion`: `string` Job version.
 * * `Status`: `string` Deployment status.
 * * `StatusDescription`: `string` Detailed description of the deployment's status.
 * @property id The provider-assigned unique ID for this managed resource.
 */
public data class GetDeploymentsResult(
    public val deployments: List>,
    public val id: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.nomad.outputs.GetDeploymentsResult): GetDeploymentsResult = GetDeploymentsResult(
            deployments = javaType.deployments().map({ args0 ->
                args0.map({ args0 ->
                    args0.key.to(args0.value)
                }).toMap()
            }),
            id = javaType.id(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy