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

com.pulumi.gcp.monitoring.kotlin.outputs.GenericServiceBasicService.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.monitoring.kotlin.outputs

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

/**
 *
 * @property serviceLabels Labels that specify the resource that emits the monitoring data
 * which is used for SLO reporting of this `Service`.
 * @property serviceType The type of service that this basic service defines, e.g.
 * APP_ENGINE service type
 */
public data class GenericServiceBasicService(
    public val serviceLabels: Map? = null,
    public val serviceType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.GenericServiceBasicService): GenericServiceBasicService = GenericServiceBasicService(
            serviceLabels = javaType.serviceLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            serviceType = javaType.serviceType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy