com.pulumi.gcp.compute.kotlin.outputs.GetRegionNetworkEndpointGroupCloudFunction.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 function A user-defined name of the Cloud Function.
* The function name is case-sensitive and must be 1-63 characters long.
* Example value: "func1".
* @property urlMask A template to parse function field from a request URL. URL mask allows
* for routing to multiple Cloud Functions without having to create
* multiple Network Endpoint Groups and backend services.
* For example, request URLs "mydomain.com/function1" and "mydomain.com/function2"
* can be backed by the same Serverless NEG with URL mask "/". The URL mask
* will parse them to { function = "function1" } and { function = "function2" } respectively.
*/
public data class GetRegionNetworkEndpointGroupCloudFunction(
public val function: String,
public val urlMask: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetRegionNetworkEndpointGroupCloudFunction): GetRegionNetworkEndpointGroupCloudFunction = GetRegionNetworkEndpointGroupCloudFunction(
function = javaType.function(),
urlMask = javaType.urlMask(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy