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

com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceResult.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudrunv2.kotlin.outputs

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

/**
 * A collection of values returned by getService.
 * @property annotations
 * @property binaryAuthorizations
 * @property client
 * @property clientVersion
 * @property conditions
 * @property createTime
 * @property creator
 * @property customAudiences
 * @property deleteTime
 * @property description
 * @property effectiveAnnotations
 * @property effectiveLabels
 * @property etag
 * @property expireTime
 * @property generation
 * @property id The provider-assigned unique ID for this managed resource.
 * @property ingress
 * @property labels
 * @property lastModifier
 * @property latestCreatedRevision
 * @property latestReadyRevision
 * @property launchStage
 * @property location
 * @property name
 * @property observedGeneration
 * @property project
 * @property pulumiLabels
 * @property reconciling
 * @property scalings
 * @property templates
 * @property terminalConditions
 * @property trafficStatuses
 * @property traffics
 * @property uid
 * @property updateTime
 * @property uri
 */
public data class GetServiceResult(
    public val annotations: Map,
    public val binaryAuthorizations: List,
    public val client: String,
    public val clientVersion: String,
    public val conditions: List,
    public val createTime: String,
    public val creator: String,
    public val customAudiences: List,
    public val deleteTime: String,
    public val description: String,
    public val effectiveAnnotations: Map,
    public val effectiveLabels: Map,
    public val etag: String,
    public val expireTime: String,
    public val generation: String,
    public val id: String,
    public val ingress: String,
    public val labels: Map,
    public val lastModifier: String,
    public val latestCreatedRevision: String,
    public val latestReadyRevision: String,
    public val launchStage: String,
    public val location: String? = null,
    public val name: String,
    public val observedGeneration: String,
    public val project: String? = null,
    public val pulumiLabels: Map,
    public val reconciling: Boolean,
    public val scalings: List,
    public val templates: List,
    public val terminalConditions: List,
    public val trafficStatuses: List,
    public val traffics: List,
    public val uid: String,
    public val updateTime: String,
    public val uri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.GetServiceResult): GetServiceResult = GetServiceResult(
            annotations = javaType.annotations().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            binaryAuthorizations = javaType.binaryAuthorizations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceBinaryAuthorization.Companion.toKotlin(args0)
                })
            }),
            client = javaType.client(),
            clientVersion = javaType.clientVersion(),
            conditions = javaType.conditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceCondition.Companion.toKotlin(args0)
                })
            }),
            createTime = javaType.createTime(),
            creator = javaType.creator(),
            customAudiences = javaType.customAudiences().map({ args0 -> args0 }),
            deleteTime = javaType.deleteTime(),
            description = javaType.description(),
            effectiveAnnotations = javaType.effectiveAnnotations().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
            effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            etag = javaType.etag(),
            expireTime = javaType.expireTime(),
            generation = javaType.generation(),
            id = javaType.id(),
            ingress = javaType.ingress(),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            lastModifier = javaType.lastModifier(),
            latestCreatedRevision = javaType.latestCreatedRevision(),
            latestReadyRevision = javaType.latestReadyRevision(),
            launchStage = javaType.launchStage(),
            location = javaType.location().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            observedGeneration = javaType.observedGeneration(),
            project = javaType.project().map({ args0 -> args0 }).orElse(null),
            pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            reconciling = javaType.reconciling(),
            scalings = javaType.scalings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceScaling.Companion.toKotlin(args0)
                })
            }),
            templates = javaType.templates().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTemplate.Companion.toKotlin(args0)
                })
            }),
            terminalConditions = javaType.terminalConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTerminalCondition.Companion.toKotlin(args0)
                })
            }),
            trafficStatuses = javaType.trafficStatuses().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTrafficStatus.Companion.toKotlin(args0)
                })
            }),
            traffics = javaType.traffics().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTraffic.Companion.toKotlin(args0)
                })
            }),
            uid = javaType.uid(),
            updateTime = javaType.updateTime(),
            uri = javaType.uri(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy