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

com.pulumi.gcp.compute.kotlin.outputs.GetRegionNetworkEndpointGroupServerlessDeployment.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.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property platform The platform of the NEG backend target(s). Possible values:
 * API Gateway: apigateway.googleapis.com
 * @property resource The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask.
 * The resource identified by this value is platform-specific and is as follows: API Gateway: The gateway ID, App Engine: The service name,
 * Cloud Functions: The function name, Cloud Run: The service name
 * @property urlMask A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources
 * on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources.
 * The fields parsed by this template are platform-specific and are as follows: API Gateway: The gateway ID,
 * App Engine: The service and version, Cloud Functions: The function name, Cloud Run: The service and tag
 * @property version The optional resource version. The version identified by this value is platform-specific and is follows:
 * API Gateway: Unused, App Engine: The service version, Cloud Functions: Unused, Cloud Run: The service tag
 */
public data class GetRegionNetworkEndpointGroupServerlessDeployment(
    public val platform: String,
    public val resource: String,
    public val urlMask: String,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetRegionNetworkEndpointGroupServerlessDeployment): GetRegionNetworkEndpointGroupServerlessDeployment =
            GetRegionNetworkEndpointGroupServerlessDeployment(
                platform = javaType.platform(),
                resource = javaType.resource(),
                urlMask = javaType.urlMask(),
                version = javaType.version(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy