com.pulumi.gcp.monitoring.kotlin.outputs.GetAppEngineServiceResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.monitoring.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getAppEngineService.
* @property displayName Name used for UI elements listing this (Monitoring) Service.
* @property id The provider-assigned unique ID for this managed resource.
* @property moduleId
* @property name The full REST resource name for this channel. The syntax is:
* `projects/[PROJECT_ID]/services/[SERVICE_ID]`.
* @property project
* @property serviceId
* @property telemetries Configuration for how to query telemetry on the Service. Structure is documented below.
* @property userLabels
*/
public data class GetAppEngineServiceResult(
public val displayName: String,
public val id: String,
public val moduleId: String,
public val name: String,
public val project: String? = null,
public val serviceId: String,
public val telemetries: List,
public val userLabels: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.GetAppEngineServiceResult): GetAppEngineServiceResult = GetAppEngineServiceResult(
displayName = javaType.displayName(),
id = javaType.id(),
moduleId = javaType.moduleId(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
serviceId = javaType.serviceId(),
telemetries = javaType.telemetries().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.monitoring.kotlin.outputs.GetAppEngineServiceTelemetry.Companion.toKotlin(args0)
})
}),
userLabels = javaType.userLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy