com.pulumi.gcp.compute.kotlin.outputs.RegionNetworkEndpointGroupAppEngine.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property service Optional serving service.
* The service name must be 1-63 characters long, and comply with RFC1035.
* Example value: "default", "my-service".
* @property urlMask A template to parse service and version fields from a request URL.
* URL mask allows for routing to multiple App Engine services without
* having to create multiple Network Endpoint Groups and backend services.
* For example, the request URLs "foo1-dot-appname.appspot.com/v1" and
* "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with
* URL mask "-dot-appname.appspot.com/". The URL mask will parse
* them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
* @property version Optional serving version.
* The version must be 1-63 characters long, and comply with RFC1035.
* Example value: "v1", "v2".
*/
public data class RegionNetworkEndpointGroupAppEngine(
public val service: String? = null,
public val urlMask: String? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionNetworkEndpointGroupAppEngine): RegionNetworkEndpointGroupAppEngine = RegionNetworkEndpointGroupAppEngine(
service = javaType.service().map({ args0 -> args0 }).orElse(null),
urlMask = javaType.urlMask().map({ args0 -> args0 }).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy