com.pulumi.gcp.eventarc.kotlin.outputs.TriggerDestinationGke.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.eventarc.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property cluster Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
* @property location Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
* @property namespace Required. The namespace the GKE service is running in.
* @property path Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
* @property service Required. Name of the GKE service.
*/
public data class TriggerDestinationGke(
public val cluster: String,
public val location: String,
public val namespace: String,
public val path: String? = null,
public val service: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.eventarc.outputs.TriggerDestinationGke): TriggerDestinationGke = TriggerDestinationGke(
cluster = javaType.cluster(),
location = javaType.location(),
namespace = javaType.namespace(),
path = javaType.path().map({ args0 -> args0 }).orElse(null),
service = javaType.service(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy