com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionEndpointsApiService.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.appengine.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property configId Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".
* By default, the rollout strategy for Endpoints is "FIXED". This means that Endpoints starts up with a particular configuration ID.
* When a new configuration is rolled out, Endpoints must be given the new configuration ID. The configId field is used to give the configuration ID
* and is required in this case.
* Endpoints also has a rollout strategy called "MANAGED". When using this, Endpoints fetches the latest configuration and does not need
* the configuration ID. In this case, configId must be omitted.
* @property disableTraceSampling Enable or disable trace sampling. By default, this is set to false for enabled.
* @property name Endpoints service name which is the name of the "service" resource in the Service Management API.
* For example "myapi.endpoints.myproject.cloud.goog"
* @property rolloutStrategy Endpoints rollout strategy. If FIXED, configId must be specified. If MANAGED, configId must be omitted.
* Default value is `FIXED`.
* Possible values are: `FIXED`, `MANAGED`.
*/
public data class FlexibleAppVersionEndpointsApiService(
public val configId: String? = null,
public val disableTraceSampling: Boolean? = null,
public val name: String,
public val rolloutStrategy: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.FlexibleAppVersionEndpointsApiService): FlexibleAppVersionEndpointsApiService = FlexibleAppVersionEndpointsApiService(
configId = javaType.configId().map({ args0 -> args0 }).orElse(null),
disableTraceSampling = javaType.disableTraceSampling().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
rolloutStrategy = javaType.rolloutStrategy().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy