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

com.pulumi.gitlab.kotlin.outputs.GetProjectEnvironmentsEnvironment.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gitlab.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property clusterAgentId The ID of the environments cluster agent or `null` if none is assigned.
 * @property createdAt Timestamp of the environment creation, RFC3339 format.
 * @property description The description of the environment.
 * @property externalUrl Place to link to for this environment.
 * @property fluxResourcePath The Flux resource path to associate with this environment.
 * @property id The ID of the environment.
 * @property kubernetesNamespace The Kubernetes namespace to associate with this environment.
 * @property name The name of the environment.
 * @property slug The simplified version of the environment name, suitable for inclusion in DNS, URLs, Kubernetes labels, and so on. The slug is truncated to 24 characters. A random suffix is automatically added to uppercase environment names.
 * @property state The state of the environment. Value can be one of `available`, `stopping`, `stopped`. Returns all environments if not set.
 * @property tier The tier of the environment. Value can be one of `production`, `staging`, `testing`, `development`, `other`. Returns all environments if not set.
 * @property updatedAt Timestamp of the last environment update, RFC3339 format.
 */
public data class GetProjectEnvironmentsEnvironment(
    public val clusterAgentId: Int,
    public val createdAt: String,
    public val description: String,
    public val externalUrl: String,
    public val fluxResourcePath: String,
    public val id: Int,
    public val kubernetesNamespace: String,
    public val name: String,
    public val slug: String,
    public val state: String,
    public val tier: String,
    public val updatedAt: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetProjectEnvironmentsEnvironment): GetProjectEnvironmentsEnvironment = GetProjectEnvironmentsEnvironment(
            clusterAgentId = javaType.clusterAgentId(),
            createdAt = javaType.createdAt(),
            description = javaType.description(),
            externalUrl = javaType.externalUrl(),
            fluxResourcePath = javaType.fluxResourcePath(),
            id = javaType.id(),
            kubernetesNamespace = javaType.kubernetesNamespace(),
            name = javaType.name(),
            slug = javaType.slug(),
            state = javaType.state(),
            tier = javaType.tier(),
            updatedAt = javaType.updatedAt(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy